<template>
  <TabPane
    :name="name"
    :label="label"
  >
    <slot>暂无内容</slot>
  </TabPane>
</template>

<script lang="ts">
import { Vue, Component } from 'vue-property-decorator'

@Component({
  name: 'DescTab'
})
export default class extends Vue {
  private readonly name = 'desc'
  private readonly label = '介绍'
}
</script>

<style lang="less" scoped>
.ivu-tabs-tabpane {
  white-space: pre-line;
}
</style>
